﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CDmShpScorePub" targetNamespace="http://tempuri.org/CDmShpScorePub.xsd" xmlns:mstns="http://tempuri.org/CDmShpScorePub.xsd" xmlns="http://tempuri.org/CDmShpScorePub.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="msBscConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="msBscConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.msBsc.Xsd.DataTds.Properties.Settings.GlobalReference.Default.msBscConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SHP_SCORE_PUBTableAdapter" GeneratorDataComponentClassName="SHP_SCORE_PUBTableAdapter" Name="SHP_SCORE_PUB" UserDataComponentName="SHP_SCORE_PUBTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="msBscConnectionString (Settings)" DbObjectName="msBsc.dbo.SHP_SCORE_PUB" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SHP_SCORE_PUB] WHERE (([SCORE_PUB_ID] = @Original_SCORE_PUB_ID) AND ([PUB_NO] = @Original_PUB_NO) AND ((@IsNull_PUB_DESC = 1 AND [PUB_DESC] IS NULL) OR ([PUB_DESC] = @Original_PUB_DESC)) AND ((@IsNull_SCORE_PUB_USR = 1 AND [SCORE_PUB_USR] IS NULL) OR ([SCORE_PUB_USR] = @Original_SCORE_PUB_USR)) AND ((@IsNull_SCORE_PUB_DT = 1 AND [SCORE_PUB_DT] IS NULL) OR ([SCORE_PUB_DT] = @Original_SCORE_PUB_DT)) AND ((@IsNull_TOTAL_QTY = 1 AND [TOTAL_QTY] IS NULL) OR ([TOTAL_QTY] = @Original_TOTAL_QTY)) AND ((@IsNull_TOTAL_AMT = 1 AND [TOTAL_AMT] IS NULL) OR ([TOTAL_AMT] = @Original_TOTAL_AMT)) AND ((@IsNull_SCORE_PRICE = 1 AND [SCORE_PRICE] IS NULL) OR ([SCORE_PRICE] = @Original_SCORE_PRICE)) AND ((@IsNull_SALES_QTY = 1 AND [SALES_QTY] IS NULL) OR ([SALES_QTY] = @Original_SALES_QTY)) AND ((@IsNull_SALES_AMT = 1 AND [SALES_AMT] IS NULL) OR ([SALES_AMT] = @Original_SALES_AMT)) AND ((@IsNull_DISCOUNT_AMT = 1 AND [DISCOUNT_AMT] IS NULL) OR ([DISCOUNT_AMT] = @Original_DISCOUNT_AMT)) AND ((@IsNull_STL_AMT = 1 AND [STL_AMT] IS NULL) OR ([STL_AMT] = @Original_STL_AMT)) AND ((@IsNull_SURPLUS_QTY = 1 AND [SURPLUS_QTY] IS NULL) OR ([SURPLUS_QTY] = @Original_SURPLUS_QTY)) AND ((@IsNull_INITIAL_DT = 1 AND [INITIAL_DT] IS NULL) OR ([INITIAL_DT] = @Original_INITIAL_DT)) AND ((@IsNull_INITIAL_USR = 1 AND [INITIAL_USR] IS NULL) OR ([INITIAL_USR] = @Original_INITIAL_USR)) AND ((@IsNull_REC_UPDATE_DT = 1 AND [REC_UPDATE_DT] IS NULL) OR ([REC_UPDATE_DT] = @Original_REC_UPDATE_DT)) AND ((@IsNull_REC_UPDATE_USR = 1 AND [REC_UPDATE_USR] IS NULL) OR ([REC_UPDATE_USR] = @Original_REC_UPDATE_USR)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_PUB_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PUB_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUB_DESC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUB_DESC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PUB_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_DESC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_PUB_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_PUB_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_PUB_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_PUB_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_PUB_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_SCORE_PUB_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SCORE_PUB_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TOTAL_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOTAL_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TOTAL_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TOTAL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TOTAL_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_PRICE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_PRICE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SCORE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SCORE_PRICE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SALES_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SALES_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SALES_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SALES_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SALES_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DISCOUNT_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DISCOUNT_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DISCOUNT_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DISCOUNT_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STL_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STL_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_STL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="STL_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SURPLUS_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SURPLUS_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SURPLUS_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SURPLUS_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_REC_UPDATE_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REC_UPDATE_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_REC_UPDATE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="REC_UPDATE_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_REC_UPDATE_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REC_UPDATE_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_REC_UPDATE_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REC_UPDATE_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SHP_SCORE_PUB] ([SCORE_PUB_ID], [PUB_NO], [PUB_DESC], [SCORE_PUB_USR], [SCORE_PUB_DT], [TOTAL_QTY], [TOTAL_AMT], [SCORE_PRICE], [SALES_QTY], [SALES_AMT], [DISCOUNT_AMT], [STL_AMT], [SURPLUS_QTY], [INITIAL_DT], [INITIAL_USR], [REC_UPDATE_DT], [REC_UPDATE_USR]) VALUES (@SCORE_PUB_ID, @PUB_NO, @PUB_DESC, @SCORE_PUB_USR, @SCORE_PUB_DT, @TOTAL_QTY, @TOTAL_AMT, @SCORE_PRICE, @SALES_QTY, @SALES_AMT, @DISCOUNT_AMT, @STL_AMT, @SURPLUS_QTY, @INITIAL_DT, @INITIAL_USR, @REC_UPDATE_DT, @REC_UPDATE_USR);
SELECT SCORE_PUB_ID, PUB_NO, PUB_DESC, SCORE_PUB_USR, SCORE_PUB_DT, TOTAL_QTY, TOTAL_AMT, SCORE_PRICE, SALES_QTY, SALES_AMT, DISCOUNT_AMT, STL_AMT, SURPLUS_QTY, INITIAL_DT, INITIAL_USR, REC_UPDATE_DT, REC_UPDATE_USR FROM SHP_SCORE_PUB WHERE (SCORE_PUB_ID = @SCORE_PUB_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_PUB_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PUB_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PUB_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_DESC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_PUB_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SCORE_PUB_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SCORE_PUB_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOTAL_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TOTAL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TOTAL_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SCORE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SCORE_PRICE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SALES_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SALES_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SALES_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DISCOUNT_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DISCOUNT_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@STL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="STL_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SURPLUS_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SURPLUS_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@REC_UPDATE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="REC_UPDATE_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@REC_UPDATE_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REC_UPDATE_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SCORE_PUB_ID, PUB_NO, PUB_DESC, SCORE_PUB_USR, SCORE_PUB_DT, TOTAL_QTY, TOTAL_AMT, SCORE_PRICE, SALES_QTY, SALES_AMT, DISCOUNT_AMT, STL_AMT, SURPLUS_QTY, INITIAL_DT, INITIAL_USR, REC_UPDATE_DT, REC_UPDATE_USR FROM dbo.SHP_SCORE_PUB</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SHP_SCORE_PUB] SET [SCORE_PUB_ID] = @SCORE_PUB_ID, [PUB_NO] = @PUB_NO, [PUB_DESC] = @PUB_DESC, [SCORE_PUB_USR] = @SCORE_PUB_USR, [SCORE_PUB_DT] = @SCORE_PUB_DT, [TOTAL_QTY] = @TOTAL_QTY, [TOTAL_AMT] = @TOTAL_AMT, [SCORE_PRICE] = @SCORE_PRICE, [SALES_QTY] = @SALES_QTY, [SALES_AMT] = @SALES_AMT, [DISCOUNT_AMT] = @DISCOUNT_AMT, [STL_AMT] = @STL_AMT, [SURPLUS_QTY] = @SURPLUS_QTY, [INITIAL_DT] = @INITIAL_DT, [INITIAL_USR] = @INITIAL_USR, [REC_UPDATE_DT] = @REC_UPDATE_DT, [REC_UPDATE_USR] = @REC_UPDATE_USR WHERE (([SCORE_PUB_ID] = @Original_SCORE_PUB_ID) AND ([PUB_NO] = @Original_PUB_NO) AND ((@IsNull_PUB_DESC = 1 AND [PUB_DESC] IS NULL) OR ([PUB_DESC] = @Original_PUB_DESC)) AND ((@IsNull_SCORE_PUB_USR = 1 AND [SCORE_PUB_USR] IS NULL) OR ([SCORE_PUB_USR] = @Original_SCORE_PUB_USR)) AND ((@IsNull_SCORE_PUB_DT = 1 AND [SCORE_PUB_DT] IS NULL) OR ([SCORE_PUB_DT] = @Original_SCORE_PUB_DT)) AND ((@IsNull_TOTAL_QTY = 1 AND [TOTAL_QTY] IS NULL) OR ([TOTAL_QTY] = @Original_TOTAL_QTY)) AND ((@IsNull_TOTAL_AMT = 1 AND [TOTAL_AMT] IS NULL) OR ([TOTAL_AMT] = @Original_TOTAL_AMT)) AND ((@IsNull_SCORE_PRICE = 1 AND [SCORE_PRICE] IS NULL) OR ([SCORE_PRICE] = @Original_SCORE_PRICE)) AND ((@IsNull_SALES_QTY = 1 AND [SALES_QTY] IS NULL) OR ([SALES_QTY] = @Original_SALES_QTY)) AND ((@IsNull_SALES_AMT = 1 AND [SALES_AMT] IS NULL) OR ([SALES_AMT] = @Original_SALES_AMT)) AND ((@IsNull_DISCOUNT_AMT = 1 AND [DISCOUNT_AMT] IS NULL) OR ([DISCOUNT_AMT] = @Original_DISCOUNT_AMT)) AND ((@IsNull_STL_AMT = 1 AND [STL_AMT] IS NULL) OR ([STL_AMT] = @Original_STL_AMT)) AND ((@IsNull_SURPLUS_QTY = 1 AND [SURPLUS_QTY] IS NULL) OR ([SURPLUS_QTY] = @Original_SURPLUS_QTY)) AND ((@IsNull_INITIAL_DT = 1 AND [INITIAL_DT] IS NULL) OR ([INITIAL_DT] = @Original_INITIAL_DT)) AND ((@IsNull_INITIAL_USR = 1 AND [INITIAL_USR] IS NULL) OR ([INITIAL_USR] = @Original_INITIAL_USR)) AND ((@IsNull_REC_UPDATE_DT = 1 AND [REC_UPDATE_DT] IS NULL) OR ([REC_UPDATE_DT] = @Original_REC_UPDATE_DT)) AND ((@IsNull_REC_UPDATE_USR = 1 AND [REC_UPDATE_USR] IS NULL) OR ([REC_UPDATE_USR] = @Original_REC_UPDATE_USR)));
SELECT SCORE_PUB_ID, PUB_NO, PUB_DESC, SCORE_PUB_USR, SCORE_PUB_DT, TOTAL_QTY, TOTAL_AMT, SCORE_PRICE, SALES_QTY, SALES_AMT, DISCOUNT_AMT, STL_AMT, SURPLUS_QTY, INITIAL_DT, INITIAL_USR, REC_UPDATE_DT, REC_UPDATE_USR FROM SHP_SCORE_PUB WHERE (SCORE_PUB_ID = @SCORE_PUB_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_PUB_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PUB_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_NO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PUB_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_DESC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SCORE_PUB_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@SCORE_PUB_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SCORE_PUB_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TOTAL_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@TOTAL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TOTAL_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SCORE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SCORE_PRICE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SALES_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SALES_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SALES_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DISCOUNT_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DISCOUNT_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@STL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="STL_AMT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SURPLUS_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SURPLUS_QTY" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@REC_UPDATE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="REC_UPDATE_DT" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@REC_UPDATE_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REC_UPDATE_USR" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_PUB_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PUB_NO" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_NO" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUB_DESC" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUB_DESC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PUB_DESC" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUB_DESC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_PUB_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_PUB_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SCORE_PUB_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SCORE_PUB_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_PUB_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_PUB_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_SCORE_PUB_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="SCORE_PUB_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TOTAL_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_TOTAL_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TOTAL_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TOTAL_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_TOTAL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="TOTAL_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SCORE_PRICE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SCORE_PRICE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SCORE_PRICE" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SCORE_PRICE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SALES_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SALES_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SALES_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SALES_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SALES_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SALES_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DISCOUNT_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DISCOUNT_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DISCOUNT_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DISCOUNT_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STL_AMT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STL_AMT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_STL_AMT" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="STL_AMT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SURPLUS_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SURPLUS_QTY" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SURPLUS_QTY" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SURPLUS_QTY" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_INITIAL_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="INITIAL_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INITIAL_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_INITIAL_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INITIAL_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_REC_UPDATE_DT" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REC_UPDATE_DT" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_REC_UPDATE_DT" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="REC_UPDATE_DT" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_REC_UPDATE_USR" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REC_UPDATE_USR" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_REC_UPDATE_USR" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="REC_UPDATE_USR" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SCORE_PUB_ID" DataSetColumn="SCORE_PUB_ID" />
              <Mapping SourceColumn="PUB_NO" DataSetColumn="PUB_NO" />
              <Mapping SourceColumn="PUB_DESC" DataSetColumn="PUB_DESC" />
              <Mapping SourceColumn="SCORE_PUB_USR" DataSetColumn="SCORE_PUB_USR" />
              <Mapping SourceColumn="SCORE_PUB_DT" DataSetColumn="SCORE_PUB_DT" />
              <Mapping SourceColumn="TOTAL_QTY" DataSetColumn="TOTAL_QTY" />
              <Mapping SourceColumn="TOTAL_AMT" DataSetColumn="TOTAL_AMT" />
              <Mapping SourceColumn="SCORE_PRICE" DataSetColumn="SCORE_PRICE" />
              <Mapping SourceColumn="SALES_QTY" DataSetColumn="SALES_QTY" />
              <Mapping SourceColumn="SALES_AMT" DataSetColumn="SALES_AMT" />
              <Mapping SourceColumn="DISCOUNT_AMT" DataSetColumn="DISCOUNT_AMT" />
              <Mapping SourceColumn="STL_AMT" DataSetColumn="STL_AMT" />
              <Mapping SourceColumn="SURPLUS_QTY" DataSetColumn="SURPLUS_QTY" />
              <Mapping SourceColumn="INITIAL_DT" DataSetColumn="INITIAL_DT" />
              <Mapping SourceColumn="INITIAL_USR" DataSetColumn="INITIAL_USR" />
              <Mapping SourceColumn="REC_UPDATE_DT" DataSetColumn="REC_UPDATE_DT" />
              <Mapping SourceColumn="REC_UPDATE_USR" DataSetColumn="REC_UPDATE_USR" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CDmShpScorePub" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CDmShpScorePub" msprop:Generator_UserDSName="CDmShpScorePub">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="SHP_SCORE_PUB" msprop:Generator_TableClassName="SHP_SCORE_PUBDataTable" msprop:Generator_TableVarName="tableSHP_SCORE_PUB" msprop:Generator_TablePropName="SHP_SCORE_PUB" msprop:Generator_RowDeletingName="SHP_SCORE_PUBRowDeleting" msprop:Generator_UserTableName="SHP_SCORE_PUB" msprop:Generator_RowChangingName="SHP_SCORE_PUBRowChanging" msprop:Generator_RowEvHandlerName="SHP_SCORE_PUBRowChangeEventHandler" msprop:Generator_RowDeletedName="SHP_SCORE_PUBRowDeleted" msprop:Generator_RowEvArgName="SHP_SCORE_PUBRowChangeEvent" msprop:Generator_RowChangedName="SHP_SCORE_PUBRowChanged" msprop:Generator_RowClassName="SHP_SCORE_PUBRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SCORE_PUB_ID" msprop:Generator_ColumnVarNameInTable="columnSCORE_PUB_ID" msprop:Generator_ColumnPropNameInRow="SCORE_PUB_ID" msprop:Generator_ColumnPropNameInTable="SCORE_PUB_IDColumn" msprop:Generator_UserColumnName="SCORE_PUB_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PUB_NO" msprop:Generator_ColumnVarNameInTable="columnPUB_NO" msprop:Generator_ColumnPropNameInRow="PUB_NO" msprop:Generator_ColumnPropNameInTable="PUB_NOColumn" msprop:Generator_UserColumnName="PUB_NO">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PUB_DESC" msprop:Generator_ColumnVarNameInTable="columnPUB_DESC" msprop:Generator_ColumnPropNameInRow="PUB_DESC" msprop:Generator_ColumnPropNameInTable="PUB_DESCColumn" msprop:Generator_UserColumnName="PUB_DESC" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SCORE_PUB_USR" msprop:Generator_ColumnVarNameInTable="columnSCORE_PUB_USR" msprop:Generator_ColumnPropNameInRow="SCORE_PUB_USR" msprop:Generator_ColumnPropNameInTable="SCORE_PUB_USRColumn" msprop:Generator_UserColumnName="SCORE_PUB_USR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SCORE_PUB_DT" msprop:Generator_ColumnVarNameInTable="columnSCORE_PUB_DT" msprop:Generator_ColumnPropNameInRow="SCORE_PUB_DT" msprop:Generator_ColumnPropNameInTable="SCORE_PUB_DTColumn" msprop:Generator_UserColumnName="SCORE_PUB_DT" type="xs:dateTime" minOccurs="0" />
              <xs:element name="TOTAL_QTY" msprop:Generator_ColumnVarNameInTable="columnTOTAL_QTY" msprop:Generator_ColumnPropNameInRow="TOTAL_QTY" msprop:Generator_ColumnPropNameInTable="TOTAL_QTYColumn" msprop:Generator_UserColumnName="TOTAL_QTY" type="xs:int" minOccurs="0" />
              <xs:element name="TOTAL_AMT" msprop:Generator_ColumnVarNameInTable="columnTOTAL_AMT" msprop:Generator_ColumnPropNameInRow="TOTAL_AMT" msprop:Generator_ColumnPropNameInTable="TOTAL_AMTColumn" msprop:Generator_UserColumnName="TOTAL_AMT" type="xs:decimal" minOccurs="0" />
              <xs:element name="SCORE_PRICE" msprop:Generator_ColumnVarNameInTable="columnSCORE_PRICE" msprop:Generator_ColumnPropNameInRow="SCORE_PRICE" msprop:Generator_ColumnPropNameInTable="SCORE_PRICEColumn" msprop:Generator_UserColumnName="SCORE_PRICE" type="xs:decimal" minOccurs="0" />
              <xs:element name="SALES_QTY" msprop:Generator_ColumnVarNameInTable="columnSALES_QTY" msprop:Generator_ColumnPropNameInRow="SALES_QTY" msprop:Generator_ColumnPropNameInTable="SALES_QTYColumn" msprop:Generator_UserColumnName="SALES_QTY" type="xs:int" minOccurs="0" />
              <xs:element name="SALES_AMT" msprop:Generator_ColumnVarNameInTable="columnSALES_AMT" msprop:Generator_ColumnPropNameInRow="SALES_AMT" msprop:Generator_ColumnPropNameInTable="SALES_AMTColumn" msprop:Generator_UserColumnName="SALES_AMT" type="xs:decimal" minOccurs="0" />
              <xs:element name="DISCOUNT_AMT" msprop:Generator_ColumnVarNameInTable="columnDISCOUNT_AMT" msprop:Generator_ColumnPropNameInRow="DISCOUNT_AMT" msprop:Generator_ColumnPropNameInTable="DISCOUNT_AMTColumn" msprop:Generator_UserColumnName="DISCOUNT_AMT" type="xs:decimal" minOccurs="0" />
              <xs:element name="STL_AMT" msprop:Generator_ColumnVarNameInTable="columnSTL_AMT" msprop:Generator_ColumnPropNameInRow="STL_AMT" msprop:Generator_ColumnPropNameInTable="STL_AMTColumn" msprop:Generator_UserColumnName="STL_AMT" type="xs:decimal" minOccurs="0" />
              <xs:element name="SURPLUS_QTY" msprop:Generator_ColumnVarNameInTable="columnSURPLUS_QTY" msprop:Generator_ColumnPropNameInRow="SURPLUS_QTY" msprop:Generator_ColumnPropNameInTable="SURPLUS_QTYColumn" msprop:Generator_UserColumnName="SURPLUS_QTY" type="xs:int" minOccurs="0" />
              <xs:element name="INITIAL_DT" msprop:Generator_ColumnVarNameInTable="columnINITIAL_DT" msprop:Generator_ColumnPropNameInRow="INITIAL_DT" msprop:Generator_ColumnPropNameInTable="INITIAL_DTColumn" msprop:Generator_UserColumnName="INITIAL_DT" type="xs:dateTime" minOccurs="0" />
              <xs:element name="INITIAL_USR" msprop:Generator_ColumnVarNameInTable="columnINITIAL_USR" msprop:Generator_ColumnPropNameInRow="INITIAL_USR" msprop:Generator_ColumnPropNameInTable="INITIAL_USRColumn" msprop:Generator_UserColumnName="INITIAL_USR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="REC_UPDATE_DT" msprop:Generator_ColumnVarNameInTable="columnREC_UPDATE_DT" msprop:Generator_ColumnPropNameInRow="REC_UPDATE_DT" msprop:Generator_ColumnPropNameInTable="REC_UPDATE_DTColumn" msprop:Generator_UserColumnName="REC_UPDATE_DT" type="xs:dateTime" minOccurs="0" />
              <xs:element name="REC_UPDATE_USR" msprop:Generator_ColumnVarNameInTable="columnREC_UPDATE_USR" msprop:Generator_ColumnPropNameInRow="REC_UPDATE_USR" msprop:Generator_ColumnPropNameInTable="REC_UPDATE_USRColumn" msprop:Generator_UserColumnName="REC_UPDATE_USR" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SHP_SCORE_PUB" />
      <xs:field xpath="mstns:SCORE_PUB_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>